﻿using System;

namespace HiTeachers.Web.Controls
{
    public partial class MainMenu : System.Web.UI.UserControl
    {
        public string ActivateId { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            bool isAuthenticated = Page.User.Identity.IsAuthenticated;
            liCntPost.Visible = isAuthenticated;
            liPstReq.Visible = !isAuthenticated;
        }
    }
}